package org.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 获取配置文件信息
 */
@Component
@ConfigurationProperties(prefix = "project")
@PropertySource(value = {"classpath:application.yml"})
public class SystemConfig {

    public static String name;
}
